import axios from '../axios/index'
export const getPersonalized = (data) => {
    // {limit: 8}
    // const { limit } = data
    const limit = data.limit
    let url = limit?'/personalized?limit='+limit:'/personalized'
    return axios({
        url: url,
        method: 'get'
    })
}
export const getPersonalizedNewsong=()=>{
    return axios({
        url:"/personalized/newsong",
        method:'get'
    })
}
// export default () =>{

// }
// import obj from ''
// obj.getPersonalized()
// obj.getPersonalized1()
// import { getPersonalized } from ''
// getPersonalized()